﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace WasaWasa
{
    partial class MainWindow
    {
        public static RoutedCommand UpdateStatusCommand = new RoutedCommand("UpdateStatusCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.Enter, ModifierKeys.Control))));
        public static RoutedCommand ClearReplyInfoCommand = new RoutedCommand("ClearReplyInfoCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.Delete, ModifierKeys.Control))));
        public static RoutedCommand LoadCommand = new RoutedCommand("LoadCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F5))));
        public static RoutedCommand LoadTimelineCommand = new RoutedCommand("LoadTimelineCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F6))));
        public static RoutedCommand LoadUserListCommand = new RoutedCommand("LoadUserListCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F7))));
        public static RoutedCommand LoadTodoCommand = new RoutedCommand("LoadTodoCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F8))));
        public static RoutedCommand LoadChannelListCommand = new RoutedCommand("LoadChannelListCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F9))));
        public static RoutedCommand ReplyToStatusCommand = new RoutedCommand("ReplyToStatusCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.R, ModifierKeys.Control))));
        public static RoutedCommand ReplyToUserCommand = new RoutedCommand("ReplyToUserCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.R, ModifierKeys.Control | ModifierKeys.Shift))));
        public static RoutedCommand CreateFollowCommand = new RoutedCommand("CreateFollowCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F, ModifierKeys.Control))));
        public static RoutedCommand CreateFollowSpecifiedIdCommand = new RoutedCommand("CreateFollowSpecifiedIdCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.F, ModifierKeys.Control | ModifierKeys.Shift))));
        public static RoutedCommand DestroyFollowCommand = new RoutedCommand("DestroyFollowCommand", typeof(MainWindow),
            new InputGestureCollection(Array(new KeyGesture(Key.Delete))));
        public static RoutedCommand ShowPictogramPeletteCommand = new RoutedCommand("ShowPictogramPeletteCommand", typeof(MainWindow)
            , new InputGestureCollection(Array(new KeyGesture(Key.F3))));
        public static RoutedCommand CreateFavoriteCommand = new RoutedCommand("CreateFavoriteCommand", typeof(MainWindow)
            , new InputGestureCollection(Array(new KeyGesture(Key.I, ModifierKeys.Control))));
        public static RoutedCommand DestroyFavoriteCommand = new RoutedCommand("DestroyFavoriteCommand", typeof(MainWindow)
            , new InputGestureCollection(Array(new KeyGesture(Key.I, ModifierKeys.Control | ModifierKeys.Shift))));

        /// <summary>
        /// 配列を作成します。
        /// </summary>
        private static T[] Array<T>(params T[] arr)
        {
            return arr;
        }
    }
}
